﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LotteryVote.Entity
{
    /// <summary>
    /// 具体佣金
    /// </summary>
    public class ConcreteCommission : IEntity
    {
        public const string TABLENAME = "tb_ConcreteCommission";
        public const string GROUPID = "GroupId";
        public const string GAMEID = "GameId";
        public const string COMPANYTYPEID = "CompanyTypeId";
        public const string COMMISSION = "Commission";
        public const string ODDS = "Odds";

        public CommissionGroup Group { get; set; }
        public GameType GameType { get; set; }
        public CompanyTypeModel CompanyType { get; set; }
        /// <summary>
        /// 佣金
        /// </summary>
        /// <value>
        /// The commission.
        /// </value>
        public double Commission { get; set; }
        /// <summary>
        /// 赔率.
        /// </summary>
        /// <value>
        /// The odds.
        /// </value>
        public double Odds { get; set; }
    }
}
